#ifndef __LED_H__
#define __LED_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "main.h"

#define LED_G_SET 			HAL_GPIO_WritePin(GPIOB, LED_G_Pin, GPIO_PIN_SET)
#define LED_G_RESET 		HAL_GPIO_WritePin(GPIOB, LED_G_Pin, GPIO_PIN_RESET)
#define LED_G_CHANGE 		HAL_GPIO_TogglePin(GPIOB, LED_G_Pin)
#define LED_R_SET 			HAL_GPIO_WritePin(GPIOB, LED_R_Pin, GPIO_PIN_SET)
#define LED_R_RESET 		HAL_GPIO_WritePin(GPIOB, LED_R_Pin, GPIO_PIN_RESET)
#define LED_R_CHANGE 		HAL_GPIO_TogglePin(GPIOB, LED_R_Pin)

#ifdef __cplusplus
}
#endif
#endif /*__ LED_H__ */